<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="/bishedabian/CLY/Public/shop/css/style.css" /> 
<link rel="shortcut icon" href="/bishedabian/CLY/Public/images/ico.ico">
<script type="text/javascript" src="/bishedabian/CLY/Public/shop/js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="/bishedabian/CLY/Public/shop/js/menu.js"></script>    
<script type="text/javascript" src="/bishedabian/CLY/Public/shop/js/select.js"></script>

<!-- <meta http-equiv="refresh" content="300">  -->
<title>美食美客商户中心</title>
</head>
<body>  
<!--Begin Header Begin-->
<div class="soubg">
	<div class="sou">
    	
        <span class="fr">
        	<span class="fl">
                你好，<?php echo ($_SESSION['shopuser']['username']); ?> 

                <a href="/bishedabian/CLY/index.php/Home/Public/doSLogout" mon="element=login">退出</a>&nbsp;
                  |&nbsp;<a href="#">我的订单</a>&nbsp;|</span>
        	<span class="ss">
            	<!-- <div class="ss_list">
                	<a href="#">收藏夹</a>
                    <div class="ss_list_bg">
                    	<div class="s_city_t"></div>
                        <div class="ss_list_c">
                        	<ul>
                            	<li><a href="#">我的收藏夹</a></li>
                                <li><a href="#">我的收藏夹</a></li>
                            </ul>
                        </div>
                    </div>     
                </div> -->
                <div class="ss_list">
                	<a href="#">客户服务</a>
                    <div class="ss_list_bg">
                    	<div class="s_city_t"></div>
                        <div class="ss_list_c">
                        	<ul>
                            	<li><a href="#">客户服务</a></li>
                                <li><a href="#">客户服务</a></li>
                                <li><a href="#">客户服务</a></li>
                            </ul>
                        </div>
                    </div>    
                </div>
                <div class="ss_list">
                	<a href="#">网站导航</a>
                    <div class="ss_list_bg">
                    	<div class="s_city_t"></div>
                        <div class="ss_list_c">
                        	<ul>
                            	<li><a href="#">网站导航</a></li>
                                <li><a href="#">网站导航</a></li>
                            </ul>
                        </div>
                    </div>    
                </div>
            </span>
            
        </span>
    </div>
</div> 
<div class="m_top_bg" style="background-color:#FF5C89">
    <div class="top" >
        <div class="m_logo"><img src="/bishedabian/CLY/Public/shop/images/logo.png"/></div>
        <div class="m_search">
            <form>
                <input type="text" value="" class="m_ipt" />
                <input type="submit" value="搜索" class="m_btn" />
            </form>                      
        </div>
    </div>
</div>
<!--End Header End--> 
<div class="i_bg bg_color">
    <!--Begin 用户中心 Begin -->
	<div class="m_content">
   		<div class="m_left">
            <div class="left_m">
            	<div class="left_n" style="background-color:#FF5C89" onclick="doshow(1)">菜单管理</div>
                <ul id="u1">
                	<li><a href="/bishedabian/CLY/index.php/Home/Seller/showMenu">查看菜单</a></li>
                    <li><a href="/bishedabian/CLY/index.php/Home/Seller/addMenu">添加菜单</a></li>
                </ul>
            </div>
            <div class="left_m">
            	<div class="left_n" style="background-color:#FF5C89" onclick="doshow(2)">店铺管理</div>
                <ul id="u2">
                	<li><a href="/bishedabian/CLY/index.php/Home/Seller/showMember">本店会员</a></li> 
                    <li><a href="/bishedabian/CLY/index.php/Home/Seller/showComment">所有评价</a></li>    
                    <li><a href="/bishedabian/CLY/index.php/Home/Seller/showOrder">本店订单</a></li>  
                </ul>
            </div>
        
        </div>
		<div class="m_right">
            

            <div class="mem_t">店铺信息</div>
            <table border="0" class="acc_tab" style="width:870px;" cellspacing="0" cellpadding="0">
              <tr>
                <td class="td_l">店铺名称： </td>
                <td><?php echo ($sh["shopname"]); ?></td>
              </tr>
              <tr>
                <td class="td_l b_none">店铺地址：</td>
                <td>
					<?php if(($sh["address"] == 1) ): ?>小店区
						<?php elseif(($sh["address"] == 2)): ?>迎泽区
						<?php elseif(($sh["address"] == 3)): ?>杏花岭区
						<?php elseif(($sh["address"] == 4)): ?>尖草坪区
						<?php elseif(($sh["address"] == 5)): ?>万柏林区
						<?php elseif(($sh["address"] == 6)): ?>晋源区<?php endif; ?>
				</td>
              </tr>
              <tr>
                <td class="td_l b_none">详细地址：</td>
                <td><?php echo ($sh["detail_add"]); ?></td>
              </tr>
              <tr>
                <td class="td_l">所属类别：</td>
                <td><?php echo ($sh["k"]); ?></td>
              </tr>
              <tr>
                <td class="td_l b_none">商户类型：</td>
                <td>
					<?php if(($sh["shoptype"] === '0') ): ?>企业商户
						<?php elseif(($sh["shoptype"] == 1)): ?>个体商户<?php endif; ?>
				</td>
              </tr>
              <tr>
                <td class="td_l">状态：</td>
                <td>
					<?php if(($sh["state"] === '0') ): ?>暂停营业
						<?php elseif(($sh["state"] == 1)): ?>审核中
						<?php elseif(($sh["state"] == 2)): ?>审核通过<?php endif; ?>
				</td>
              </tr>
              <tr>
                <td class="td_l b_none">注册时间：</td>
                <td><?php echo (date("Y-m-d",$sh["addtime"])); ?></td>
              </tr>
            </table>
               

         

        </div>
    </div>
	<!--End 用户中心 End--> 
    <!--Begin Footer Begin -->
    <div class="b_nav">
    	<dl>                                                                                            
        	<dt><a href="#">新手上路</a></dt>
            <dd><a href="#">售后流程</a></dd>
            <dd><a href="#">购物流程</a></dd>
            <dd><a href="#">订购方式</a></dd>
            <dd><a href="#">隐私声明</a></dd>
            <dd><a href="#">推荐分享说明</a></dd>
        </dl>
        <dl>
        	<dt><a href="#">配送与支付</a></dt>
            <dd><a href="#">货到付款区域</a></dd>
            <dd><a href="#">配送支付查询</a></dd>
            <dd><a href="#">支付方式说明</a></dd>
        </dl>
        <dl>
        	<dt><a href="#">会员中心</a></dt>
            <dd><a href="#">资金管理</a></dd>
            <dd><a href="#">我的收藏</a></dd>
            <dd><a href="#">我的订单</a></dd>
        </dl>
        <dl>
        	<dt><a href="#">服务保证</a></dt>
            <dd><a href="#">退换货原则</a></dd>
            <dd><a href="#">售后服务保证</a></dd>
            <dd><a href="#">产品质量保证</a></dd>
        </dl>
        <dl>
        	<dt><a href="#">联系我们</a></dt>
            <dd><a href="#">网站故障报告</a></dd>
            <dd><a href="#">购物咨询</a></dd>
            <dd><a href="#">投诉与建议</a></dd>
        </dl>
        <div class="b_tel_bg">
        	<a href="#" class="b_sh1">新浪微博</a>            
        	<a href="#" class="b_sh2">腾讯微博</a>
            <p>
            服务热线：<br />
            <span style="color:#FF5C89">183-000-3282</span>
            </p>
        </div>
        <div class="b_er">
            <div class="b_er_c"><img src="/bishedabian/CLY/Public/shop/images/weixin.jpg" width="118" height="118" /></div>
            <img src="/bishedabian/CLY/Public/shop/images/ss.png" />
        </div>
    </div>    
    <div class="btmbg">
		<div class="btm">
        	备案/许可证编号：晋ICP备12009302号-1-www.msmk.com   Copyright © 2016-2017 美食美客 All Rights Reserved. 复制必究 , Technical Support: msmk Group <br />
            <img src="/bishedabian/CLY/Public/shop/images/b_1.gif" width="98" height="33" /><img src="/bishedabian/CLY/Public/shop/images/b_2.gif" width="98" height="33" /><img src="/bishedabian/CLY/Public/shop/images/b_3.gif" width="98" height="33" /><img src="/bishedabian/CLY/Public/shop/images/b_4.gif" width="98" height="33" /><img src="/bishedabian/CLY/Public/shop/images/b_5.gif" width="98" height="33" /><img src="/bishedabian/CLY/Public/shop/images/b_6.gif" width="98" height="33" />
        </div>    	
    </div>
    <!--End Footer End -->    
</div>

<script>
	function doshow(d){
		var ul = document.getElementById("u"+d);
		if(ul.style.display == "none"){
			ul.style.display = "block";
		}else{
			ul.style.display = "none";
		}
	}
	</script>
    <script src="/bishedabian/CLY/Public/Admin/plugins/jQuery/jQuery-2.1.4.min.js"></script>
    
</body>
</html>